<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>电影电视</title>
<link rel="stylesheet"  type="text/css"  href="../01.css" >
<style>
	#right section{
		clear: both;
		box-sizing: border-box;
		padding-left: 15px;
	}
	/*#right img{
		float: left;
		width: 150px;
		height: 100px;
	}*/
	#right div{
		float: left;
		width: 100px;
		padding-left: 15px;
		box-sizing: border-box;
	}
	#right div header{
		font-size: 40px;
		height: 40px;
		/*font-weight:bold;*/
	}
	#right a {
		color: #000;
		text-decoration:none;
	}
	#div a{
		text-decoration: none;
	}

</style>
</head>

<body>	
	<div id="mainContent">
		<a href="01/01.html" style="text-decoration: none;">第一季</a>
		<a href="02/02.html" style="text-decoration: none;">第二季</a>
		<a href="03/03.html" style="text-decoration: none;">第三季</a>
		<a href="04/04.html" style="text-decoration: none;">第四季</a>
		<a href="05/05.html" style="text-decoration: none;">第五季</a>
		<a href="06/601.html" style="text-decoration: none;">电影</a>
	<div id="left">
		<video id="myVideo" controls autoplay >
		<source src="01/01.mp4" type="video/mp4">
		</video>  	
	</div>
	<div id="right">
		<div style="width: 300px;">
			<header style="height: 80px;"><p style="width: 100%; text-align: center; height: 80px;">第一季 </p></header>
		</div>
		<div>
			当前播放第
		</div>
		<div id="text" style="color: #FF0000; width: 20px; padding-left: 5px;">
			01
		</div>
		<div>
			集
		</div>
		<div>
		    <header><a href="javascript:void(0)" onclick="change('01/01.mp4')">01</a></header>
		</div>
		<div>
		    <header><a href="javascript:void(0)" onclick="change('01/02.mp4')">02</a></header>
		</div>
		<div>
		    <header><a href="javascript:void(0)" onclick="change('01/03.mp4')">03</a></header>
		</div>
		<div>
		    <header><a href="javascript:void(0)" onclick="change('01/04.mp4')">04</a></header>
		</div>
		<div>
		    <header><a href="javascript:void(0)" onclick="change('01/05.mp4')">05</a></header>
		</div>
		<div>
		    <header><a href="javascript:void(0)" onclick="change('01/06.mp4')">06</a></header>
		</div>
		<div>
		    <header><a href="javascript:void(0)" onclick="change('01/07.mp4')">07</a></header>
		</div>
		<div>
		    <header><a href="javascript:void(0)" onclick="change('01/08.mp4')">08</a></header>
		</div>
		<div>
		    <header><a href="javascript:void(0)" onclick="change('01/09.mp4')">09</a></header>
		</div>
		<div>
		    <header><a href="javascript:void(0)" onclick="change('01/10.mp4')">10</a></header>
		</div>
		<div>
		    <header><a href="javascript:void(0)" onclick="change('01/11.mp4')">11</a></header>
		</div>
		<div>
		    <header><a href="javascript:void(0)" onclick="change('01/12.mp4')">12</a></header>
		</div>
		<div>
		    <header><a href="javascript:void(0)" onclick="change('01/13.mp4')">13</a></header>
		</div>
		<div>
		    <header><a href="javascript:void(0)" onclick="change('01/14.mp4')">14</a></header>
		</div>
		<div>
		    <header><a href="javascript:void(0)" onclick="change('01/15.mp4')">15</a></header>
		</div>
		<div>
		    <header><a href="javascript:void(0)" onclick="change('01/16.mp4')">16</a></header>
		</div>
		<div>
		    <header><a href="javascript:void(0)" onclick="change('01/17.mp4')">17</a></header>
		</div>
		<div>
		    <header><a href="javascript:void(0)" onclick="change('01/18.mp4')">18</a></header>
		</div>
		<div>
		    <header><a href="javascript:void(0)" onclick="change('01/19.mp4')">19</a></header>
		</div>
		<div>
		    <header><a href="javascript:void(0)" onclick="change('01/20.mp4')">20</a></header>
		</div>
	</div>	

</div>
	<script>
	      function change(a){
			  //var name = $(this).Attr('dir');
			  //var vediotile=$(a).html();
			  var video =document.getElementById("myVideo");
			  var source =document.getElementsByTagName("source");
			  //修改视频源
			  source[0].src= a;
			  //重新加载
			  video.load();
			  document.getElementById('text').innerText= a.split('/')[1].split('.')[0];
		  };
	</script>
</body>
</html>